<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <th:block th:include="include :: header('修改监测点')" />
    <th:block th:include="include :: select2-css" />
  </head>
  <body>
    <div class="main-content">
      <form class="form-horizontal" id="form-user-edit">
        <!-- <input name="userId"  type="hidden"  th:field="*{userId}" />
			<input name="deptId"  type="hidden"  th:field="*{deptId}" id="treeId"/> -->
        <h4 class="form-header h4">编辑</h4>
        <div class="row">
          <div class="col-sm-12">
            <div class="form-group">
              <label class="col-sm-4 control-label is-required"
                >监测点名称：</label
              >
              <div class="col-sm-8">
                <div class="input-group" style="width: 60%">
                  <input
                    name="userName"
                    placeholder="请输入监测点名称"
                    class="form-control"
                    type="text"
                    maxlength="30"
                    required
                  />
                </div>
              </div>
            </div>
          </div>
          <div class="col-sm-12">
            <div class="form-group">
              <label class="col-sm-4 control-label is-required">所属区域：</label>
              <div class="col-sm-8">
                <div class="input-group" style="width: 60%">
                  <input
                    class="form-control"
                    type="text"
                    name="deptName"
                    id="treeName"
                    maxlength="10"
                    disabled
                    required
                  />
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col-sm-12">
            <div class="form-group">
              <label class="col-sm-4 control-label is-required">上限值：</label>
              <div class="col-sm-8">
                <div class="input-group" style="width: 60%">
                  <input
                    name="phonenumber"
                    placeholder="请输入上限值"
                    class="form-control"
                    type="text"
                    maxlength="20"
                    required
                  />
                </div>
              </div>
            </div>
          </div>
          <div class="col-sm-12">
            <div class="form-group">
              <label class="col-sm-4 control-label is-required">下限值：</label>
              <div class="col-sm-8">
                <div class="input-group" style="width: 60%">
                  <input
                    name="email"
                    class="form-control email"
                    type="text"
                    maxlength="50"
                    placeholder="请输入下限值"
                    required
                  />
                </div>
              </div>
            </div>
          </div>
        </div>
      </form>
      <h4 class="form-header h4">绑定设备</h4>
      <div>123</div>
    </div>
    <div class="row">
      <div class="col-sm-offset-5 col-sm-10">
        <button
          type="button"
          class="btn btn-sm btn-primary"
          onclick="submitHandler()"
        >
          <i class="fa fa-check"></i>保 存</button
        >&nbsp;
        <button
          type="button"
          class="btn btn-sm btn-danger"
          onclick="closeItem()"
        >
          <i class="fa fa-reply-all"></i>关 闭
        </button>
      </div>
    </div>
    <script type="text/javascript">
      $('#form-user-edit').validate({

      })
    </script>
  </body>
  
</html>
